'use strict';

const Controller = require('egg').Controller;

class HomeController extends Controller {
    async newMenu() {
        this.ctx.body = await this.ctx.service.zzt.newMenu()
    }
    async popular() {
        this.ctx.body = await this.ctx.service.zzt.popular()
    }
    async popular2() {
        this.ctx.body = await this.ctx.service.zzt.popular2()
    }
    async popmenu() {
        this.ctx.body = await this.ctx.service.zzt.popmenu()
    }
    async popmenu2() {
        this.ctx.body = await this.ctx.service.zzt.popmenu2()
    }
    async star() {
        this.ctx.body = await this.ctx.service.zzt.star()
    }
    async opus() {
        this.ctx.body = await this.ctx.service.zzt.opus()
    }
    async season() {
        this.ctx.body = await this.ctx.service.zzt.season()
    }
    async zuoping() {
        this.ctx.body = await this.ctx.service.zzt.zuoping()
    }
    async finduser() {
        this.ctx.body = await this.ctx.service.zzt.finduser(this.ctx.session.id)
    }
}

module.exports = HomeController;
